package com.zl.dao
{
	import com.zl.bean.KDataBean;
	import com.zl.net.MyRoFactory;
	
	import mx.collections.ArrayCollection;
	
	public class KDataDao
	{
		public function KDataDao()
		{
		}
		
		public function getListByDate(startDate:String ,endDate:String, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('KDataRo', resultHandler, 
				'查询数据', 'getListByDate', startDate, endDate);
		}
		
		public function insertData(dataList:ArrayCollection, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('KDataRo', resultHandler, 
				'插入数据', 'insertData', dataList);
		}
	}
}